﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
    <script src="../eiap-all.js"></script>
</head>
<body>
    <div id="jnkc">
    </div>
<div id="jnc">
</div>
    <div id="jn">
    </div>
    <div id="jc">
    </div>

    <div id="nd">
    </div>
    <div id="cd">
    </div>
<script>
   // setInterval("jnc.innerHTML=new Date().toLocaleString()+\' 星期\'+\'日一二三四五六\'.charAt(new Date().getDay());", 1000);
   // setInterval("jnkc.innerHTML=new Date().toString();", 1000);
  //  setInterval("jn.innerHTML=new Date().toDateString();", 1000);
   // setInterval("jc.innerHTML=new Date().toLocaleDateString();", 1000);
   // setInterval("jnc.innerHTML=new Date().toLocaleString()+\' 星期\'+\'日一二三四五六\'.charAt(new Date().getDay());", 1000);

    setInterval("xxx();", 1000);
    setInterval("yyy();", 1000);

    function xxx() {
        document.getElementById("nd").innerHTML = new Date().toLocaleString().replace(/\//g, "-") + ' 星期' + '日一二三四五六'.charAt(new Date().getDay());
    }
    function yyy() {
        document.getElementById("cd").innerHTML = new EIAP.util.Date().format("YYYY-MM-DD HH:mm:ss") + ' 星期' + '日一二三四五六'.charAt(new Date().getDay());
    }
</script>


</body>
</html>